import React from 'react';

const Hoc = (Cmp) => {
  return function HOC() {
    return (
      <div>
        <h1>HOC</h1>
        <Cmp />
      </div>
    );
  };
};

export default Hoc;
